import type { AppRouteType } from "../type";

const mySlot: AppRouteType = {
  path: "/vMode",
  name: "VMode",
  // component: () => import("@/views/vMode/index.vue"),
  meta: {
    title: "v-model使用",
    icon: "Notebook",
    order: 7,
    needAuth: true,
  },
  children: [
    {
      path: "defineModel",
      name: "DefineModel",
      component: () => import("@/views/vMode/definemodel/index.vue"),
      meta: {
        title: "defineModel宏",
      },
    },
    {
      path: "myUseVmodel",
      name: "MyUseVmodel",
      component: () => import("@/views/vMode/myUseVmodel/index.vue"),
      meta: {
        title: "useVmodel方法",
      },
    },
    {
      path: "basicVmodel",
      name: "BasicVmodel",
      component: () => import("@/views/vMode/basicVmodel/index.vue"),
      meta: {
        title: "原始vmodel",
      },
    },
  ],
};

export default mySlot;
